package com.neusoft.demo8;

import com.neusoft.demo6.Employee;

public interface EmployeeManager {
    /**
     * 根据id查询员工
     * @param id
     * @return
     */
    public Employee getEmployeeById(int id);

    /**
     *
     * @param employee
     */
    public void addEmployee(Employee employee);

    /**
     *
     * @param employee
     * @return
     */
    public boolean updateEmployee(Employee employee);

    /**
     *
     * @param id
     * @return
     */
    public boolean deleteEmployee(int id);
}
